package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.RepurchaseBean;

/**
* 描述：获取上市公司回购股票数据
* @author: codesmith
**/
@Data
@TableName("repurchase")
public class RepurchaseEntity implements RepurchaseBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 公告日期
    */
    @TableId
    @TableField("`ann_date`") protected LocalDate annDate;
    /*
    * 截止日期
    */
    @TableId
    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`proc`") protected String proc;

    @TableField("`exp_date`") protected LocalDate expDate;
    /*
    * 回购数量
    */
    @TableId
    @TableField("`vol`") protected Double vol;

    @TableField("`amount`") protected Double amount;

    @TableField("`high_limit`") protected Double highLimit;

    @TableField("`low_limit`") protected Double lowLimit;
}